import request from '@/utils/request'

export default {
  getCustomerServiceList() {
    return request.get('/customer-service/list')
  },
  addCustomerService(data) {
    return request.post('/customer-service/add', data)
  },
  updateCustomerService(data) {
    return request.put('/customer-service/update', data)
  },
  deleteCustomerService(id) {
    return request.delete(`/customer-service/delete/${id}`)
  }
}